package com.example.myapplication;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;

public class TableActivity extends AppCompatActivity {
  @Override protected void onCreate(@Nullable Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.tablelayout);

    Toolbar toolbar=findViewById(R.id.toolbar3);
    toolbar.setTitle("网格布局");
    setSupportActionBar(toolbar);
  }
  public void BackToLastActivity(View view)
  {
    Intent intent = new Intent(this, RelativeActivity.class);
    startActivity(intent);
  }
  public void GoToNextActivity(View view)
  {
    Intent intent = new Intent(this, LoginActivity.class);
    startActivity(intent);
  }
}
